package cn.edu.zut.soft.student.controller.route;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author ChrisPhantom
 * @CreatDate 2021/02/24 19:29
 */

@Controller
@RequestMapping("/teacher")
public class TeacherRouteController {
    @RequestMapping("")
    public String toTeacherIndex() {
        return "pages/teacher/index";
    }

    @RequestMapping("/notice")
    public String toTeacherNotice() {
        return "pages/teacher/notice";
    }

    @RequestMapping("/course")
    public String toTeacherCourseList() {
        return "pages/teacher/course";
    }

    @RequestMapping("/score")
    public String toTeacherScore() {
        return "pages/teacher/score";
    }

    @RequestMapping("/info")
    public String toTeacherInfo() {
        return "pages/teacher/info";
    }

}
